package heman.server.controllerchain;

import heman.server.controllers.OptionsController;
import ks.framework.common.Message;
import ks.framework.communicator.Communicator;
import ks.server.controllers.ServerControllerChain;

/**
 * add OptionsController
 * @author Yanyi Zhang
 *
 */
public class OptionsControllerChain extends ServerControllerChain {
	@Override
	public boolean process(Communicator com, Message m){
		if(m.getName().equals("options")){
			return new OptionsController().process(com,m);
		}
		return next(com,m);
	}
}
